package com.jkoss.wine.system.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 用户角色
 * </p>
 *
 * @author Jason
 * @since 2018-09-21
 */
@TableName("merchant_employees_role")
public class MerchantEmployeesRole extends Model<MerchantEmployeesRole> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;
    /**
     * 雇员id
     */
    @TableField("meid")
    private String meid;
    /**
     * 角色id
     */
    @TableField("rid")
    private String rid;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMeid() {
        return meid;
    }

    public void setMeid(String meid) {
        this.meid = meid;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "MerchantEmployeesRole{" +
        ", id=" + id +
        ", meid=" + meid +
        ", rid=" + rid +
        "}";
    }
}
